﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.MEGA
{
    /// <summary>
    /// 工厂管理
    /// </summary>
    [Table("MEGA_FactoryManagement")]
    public class MEGA_FactoryManagement
    {

        /// <summary>
        /// 乐观锁
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public String Editor { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 编号 首字母大写缩写+3位数字
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 工厂名称
        /// </summary>
        public String Name { get; set; }


        /// <summary>
        /// 工厂简称
        /// </summary>
        public String SmallName { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public String Address { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public String Image { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public String Describe { get; set; }

        /// <summary>
        /// 行政区划id
        /// </summary>
        public String AreaId { get; set; }

        /// <summary>
        /// 行政区划ids
        /// </summary>
        public String AreaIds { get; set; }

        /// <summary>
        /// 行政区划名称
        /// </summary>
        public String AreaName { get; set; }

        /// <summary>
        /// 中心点经度
        /// </summary>
        public String Lng { get; set; }

        /// <summary>
        /// 中心点纬度
        /// </summary>
        public String Lat { get; set; }


        /// <summary>
        /// 数量
        /// </summary>
        public int? Num { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public String Note { get; set; }

    }
}